﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.BaseLibrary.Domain;

namespace DepartmentWork.Migrator.Data
{
    public class USER_INFO : IEntity
    {
        /// <summary>
        /// 用户编号ID
        /// </summary>
        [DisplayName("用户编号ID"), Required, Key]
        public Guid USER_ID { get; set; }

        /// <summary>
        /// 登录名
        /// </summary>
        [DisplayName("登录名"), Required]
        public string LOGIN_NAME { get; set; }

        /// <summary>
        /// 展示名
        /// </summary>
        [DisplayName("展示名"), Required]
        public string DISPLAY_NAME { get; set; }

        /// <summary>
        /// 绑定的域账号
        /// </summary>
        [DisplayName("绑定的域账号")]
        public string DOMAIN_NAME { get; set; }

        /// <summary>
        /// 用户密码
        /// </summary>
        [DisplayName("密码")]
        public string PASSWD { get; set; }

        /// <summary>
        /// 用户状态
        /// 2 为软删除
        /// 1 为启用
        /// 0 为禁用
        /// </summary>
        [DisplayName("用户状态"), Required]
        public string ENABLE { get; set; }


       

    }
}
